/**
 * @author lilinjie
 * @Description: 公共样式文件
*/

// 公共字体样式
.text(@color: white, @size: 16px, @weight:  normal ) {
  color: @color;
  font-size: @size;
  font-weight: @weight;
}

// 公共布局样式
.flex(@justify: center, @align: center) {
  display: flex;
  justify-content: @justify;
  align-items: @align;
}

// 公共头像样式
.common-img-box() {
  display: flex;
  align-items: center;
  justify-content: center;

  .img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 10px;
  }
  .img-text {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
